import React, { useState, useEffect } from 'react';
import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
import { history } from 'umi';
import { Button, Typography } from 'antd';

// 定义函数
const ReactLearn: React.FC<{}> = () => {
  // 返回页面数据
  return (
    <>
      <PageContainer>
        <div>
          <h2>react学习</h2>
        </div>
        <FooterToolbar>react学习</FooterToolbar>
      </PageContainer>
    </>
  );
};

// 渲染页面
export default ReactLearn;
